<#include "studentNavigation/index.html">
<#if message?exists>
	${message}
</#if>




 <script src="//cdn.bootcss.com/bootstrap-validator/0.5.3/js/bootstrapValidator.js"></script>
 <link href="//cdn.bootcss.com/bootstrap-validator/0.5.3/css/bootstrapValidator.min.css" rel="stylesheet" />
				<div class="main-content">
					<div class="breadcrumbs" id="breadcrumbs">
						<script type="text/javascript">
							try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
						</script>

						<ul class="breadcrumb">
							<li>
								<i class="icon-home home-icon"></i>
								<a href="${contextPath}/admin">教学日历服务平台学生首页</a>
							</li>
							<li class="active">个人信息</li>
						</ul><!-- .breadcrumb -->
					</div>
                   <div class="page-content">
                   
                   <form action="${contextPath}/student/saveInfo" method="post">
                   
                    <#if student?exists> 

                     <div class="form-group" style="margin-left:33%;">
				       <label>学号</label>
				       <input type="text" class="form-control" style="width:50%;" name="studentNum" value="${student.studentNum!}"readonly/>
				     </div>
				      <div class="form-group"style="margin-left:33%;">
				       <label>用户名</label>
				       <input type="text" class="form-control" style="width:50%;"name="studentName" value="${student.studentName!}"readonly/>
				     </div>
				     <div class="form-group"style="margin-left:33%;">
				       <label>联系方式</label>
				       <input type="text" class="form-control"  style="width:50%;"name="studentPhone" value="${student.studentPhone!}"/>
				     </div>
				     <div class="form-group"style="margin-left:33%;">
				       <label>邮箱地址</label>
				       <input type="text" class="form-control"  style="width:50%;"name="studentEmail" value="${student.studentEmail!}"/>
				     </div>
				    
				     <div class="form-group"style="margin-left:33%;">
				       <button type="submit" name="submit" class="btn btn-primary">保存</button>
				     </div>
				     
				     </#if> <!-- /这个必须加，不然freemark报错 --> 
				   </form>			
				   </div><!-- /.page-content -->
				   	<script type="text/javascript">
				   $(function () {
					    $('form').bootstrapValidator({
					　　　　　　　　message: 'This value is not valid',
					      　feedbackIcons: {
					        　　　　　　　　valid: 'glyphicon glyphicon-ok',
					        　　　　　　　　invalid: 'glyphicon glyphicon-remove',
					        　　　　　　　　validating: 'glyphicon glyphicon-refresh'
					      　　　　　　　　  },
					      fields: {
					    	  studentNum: {
						          message: '用户账号验证失败',
						          validators: {
						            notEmpty: {
						              message: '用户账号不能为空'
						            }
						          }
						        },
					      }
					      　　 studentName: {
					          message: '用户名验证失败',
					          validators: {
					            notEmpty: {
					              message: '用户名不能为空'
					            }
					          }
					        }
					      }
					    });
					  });
       </script >
		</div><!-- /.main-container-inner -->

			<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
				<i class="icon-double-angle-up icon-only bigger-110"></i>
			</a>
		<!-- /.main-container -->

		